package com.heima.apis.admin;

import com.heima.model.admin.dtos.AdChannelDto;

import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;


public interface AdChannelControllerApi {
    //查询频道带分页

    public ResponseResult findByNameAndAge(AdChannelDto dto);
    //新增频道
    public ResponseResult insert(AdChannel adChannel);
    //删除频道
    public ResponseResult deleteById(Integer id);
    //修改频道
    public ResponseResult update(AdChannel adChannel);

    public ResponseResult findAll();
}
